<?php

class Error extends CI_Controller {

    public function __construct() {
        parent::__construct();
       
    }

    public function index() {
        echo "ERROR HAVE BEEN CAUGHT"; 
        $error = 'error';
        $this->load->view('view_error',$error);
    }

}
